<!DOCTYPE html>
<html>
  <head>
    <title>jQuery WeUI</title>
    <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>

<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
"/>

<link rel="stylesheet" th:href="@{/dist/lib/weui.min.css}" />
<link rel="stylesheet" th:href="@{/dist/css/jquery-weui.min.css}" />
<link rel="stylesheet" th:href="@{/dist/../static/demos/css/../static/demos.css}" />
<script type="text/javascript" th:src="@{/dist/lib/jquery-2.1.4.js}" ></script>
<script type="text/javascript" th:src="@{/dist/js/jquery-weui.js}" ></script>
<script type="text/javascript" th:src="@{/dist/lib/fastclick.js}" ></script>
<link rel="stylesheet" th:href="@{/adminltecss/userl.css}" />
<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
   
<style>
   
  	.header-wai{
  		position: fixed;top:0px; height:60px;background-color: #363436;
  	}
   </style>
   
    <script type="text/javascript" th:inline="javascript">
  /*<![CDATA[*/
	  		
	  		

	  		/*返回上一级  */
	  		function returnDemo(){
	  			window.history.back(-1); 
	  		}
  /*]]>*/
  </script>
  </head>
  <body ontouchstart   style="background-color: rgba(242,242,242)">
  	<div class="weui-tabbar header-wai" style="">
  		<a th:href="@{/selectAllCustomers}" class="weui-tabbar__item"  id="cusdow">
          <div class="weui-tabbar__icon"></div>
          <p class="weui-tabbar__label" style="font-size: 20px; color: white; line-height: 1px;">

          	<span class="fa fa-angle-left fa-2x" style="color: white; float: left;line-height: 10px;" onclick="returnDemo()"></span>
          	客户详情<span class="" style="color: white;float: right; margin-right: 10px;line-height: 10px; " id="down"></span></p>
        </a>
      </div>
  	<div class="weui-grids" style="background-color: white;">
  	
  	<div class="weui-panel__bd" style="padding-top: 50px;">
          <div class="weui-media-box weui-media-box_text" style="padding: 20px;">
            <h4 class="weui-media-box__title" th:inline="text">[[${customer.getCname()}]]</h4>
            <p class="weui-media-box__desc"><span th:inline="text">[[${customer.getCgender()}]]</span th:inline="text">&nbsp;&nbsp;|&nbsp;&nbsp;<span th:inline="text">[[${customer.getCage()}]]</span>&nbsp;&nbsp;|&nbsp;&nbsp;<span th:inline="text">[[${customer.getCphone()}]]</span>&nbsp;&nbsp;|&nbsp;&nbsp;<span th:inline="text">[[${customer.getCidcard()}]]</span></p>
            <p class="weui-media-box__desc" style="padding-top: 20px;"><span th:inline="text">[[${customer.getCannualincome()}]]</span>&nbsp;&nbsp;|&nbsp;&nbsp;<span th:inline="text">[[${customer.getChashousecount()}]]</span>&nbsp;&nbsp;|&nbsp;&nbsp;
            <span th:if="${customer.getCgrand()==0}">白银客户</span>&nbsp;&nbsp;
            <span th:if="${customer.getCgrand()==1}">黄金客户</span>&nbsp;&nbsp;
            <span th:if="${customer.getCgrand()==2}">钻石客户</span>&nbsp;&nbsp;
            </p>
          </div>
          
        </div>
          <div class="weui-cell" style="margin-top: 20px;">
            <div class="weui-cell__bd">
              <p>买房状态</p>
            </div>
            <div class="weui-cell__ft" th:if="${customer.getCgrand()==0}">未购买</div>
            <div class="weui-cell__ft" th:if="${customer.getCgrand()==1}">已购买</div>
          </div>
          <div class="weui-cell"  style="margin-top: 20px;">
            <div class="weui-cell__bd">
              <p>预约状态</p>
            </div>
            <div class="weui-cell__ft" th:if="${customer.getCmakestate()==0}">预约中</div>
            <div class="weui-cell__ft" th:if="${customer.getCmakestate()==1}">已预约</div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>目标金额</p>
            </div>
            <div class="weui-cell__ft" th:inline="text">[[${customer.getCmoney()}]]</div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>目标房类型</p>
            </div>
            <div class="weui-cell__ft" th:inline="text">[[${customer.getChousetype()}]]</div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>目标金额</p>
            </div>
            <div class="weui-cell__ft" th:inline="text">[[${customer.getCbuy()}]]</div>
          </div>
          <div class="weui-cell">
            <div class="weui-cell__bd">
              <p>是否再次购买</p>
            </div>
            <div class="weui-cell__ft" th:if="${customer.getCagainstate()==0}">已购买</div>
            <div class="weui-cell__ft" th:if="${customer.getCagainstate()==1}">未购买</div>
          </div>
          
  	<div class='demos-content-padded'>
  		<a th:href="@{/selectCustomerForChange(cid=${customer.getCid()})}" class="weui-btn weui-btn_primary">点击编辑</a>
  		</div>
  	</div>
  	
  	 
       <br/>
      <br/>
  	<div class="weui-tabbar" style="position: fixed;">

        <a th:href="@{/WHeadInfoController/intoMainPage}" class="weui-tabbar__item weui-bar__item--on">
          <!-- <span class="weui-badge" style="position: absolute;top: -.4em;right: 1em;">8</span> -->
          <div class="weui-tabbar__icon">
           
            <img th:src="@{/demos/images/icon_nav_button.png}" />
          </div>
          <p class="weui-tabbar__label">首页</p>
        </a>
        
        
        
        
         
        <!--判断是否登陆  -->
        <a href="javascript:void(0)" class="weui-tabbar__item" th:if="${session.EmployeeInfo!=null}"> 
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_msg.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">菜单</p>
        </a>
        
        <a th:href="@{/WBizController/loginDemo}" class="weui-tabbar__item" th:if="${session.EmployeeInfo==null}"> 
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_msg.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">菜单</p>
        </a>

		<!--判断是否登陆  -->
        <a th:href="@{/selectAllCustomers}" class="weui-tabbar__item" th:if="${session.EmployeeInfo!=null}">

          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_article.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">客户</p>
        </a>
         <a th:href="@{/WBizController/loginDemo}" class="weui-tabbar__item" th:if="${session.EmployeeInfo==null}">

          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_article.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">客户</p>
        </a>
        
        
        
        
        
        
        
        
        <a th:href="@{/WBizController/HeadPage}" class="weui-tabbar__item">
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_cell.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">我的</p>
        </a>
      </div>
      <script>
      	
      </script>
  	</body>
  </html>
